import { memo, useEffect } from 'react'
import { useNavigate } from 'react-router-dom'

const redirectPage = memo(() => {
    const navigate = useNavigate();

    useEffect(() => {
        navigate(-1);
    }, []);

    return (
        <div></div>
    )
})

export default redirectPage